package cn.weforward.task.weforward.view;

import java.util.Date;
import java.util.List;

import cn.weforward.protocol.doc.annotation.DocAttribute;
import cn.weforward.protocol.doc.annotation.DocObject;
@DocObject(description = "任务参数")
public class TaskParams {
	String m_Title;
	String m_Content;
	String m_FatherTaskId;
	int m_Priority;
	String m_Manager;
	List<String> m_Handlers;
	String m_Creator;
	String m_Tag;
	Date m_ExpectedStartTime;
	Date m_ExpectedEndTime;
	Date m_CreateTime;
	Date m_EndTime;
	@DocAttribute(necessary = true, description = "任务标题", example = "客运需求")
	public String getTitle() {
		return m_Title;
	}
	public void setTitle(String m_Title) {
		this.m_Title = m_Title;
	}
	@DocAttribute(necessary = true, description = "任务内容", example = "开发一个app...")
	public String getContent() {
		return m_Content;
	}
	public void setContent(String m_Content) {
		this.m_Content = m_Content;
	}
	@DocAttribute(necessary = true, description = "任务父任务id(空字符串代表父任务，否则代表子任务)", example = "")
	public String getFatherTaskId() {
		return m_FatherTaskId;
	}
	public void setFatherTaskId(String m_FatherTaskId) {
		this.m_FatherTaskId = m_FatherTaskId;
	}
	@DocAttribute(necessary = true, description = "任务优先级(1:低,2:中,3:高,4:超高)", example = "1")
	public int getPriority() {
		return m_Priority;
	}
	public void setPriority(int m_Priority) {
		this.m_Priority = m_Priority;
	}

	@DocAttribute(necessary = true, description = "任务负责人", example = "张三")
	public String getManager() {
		return m_Manager;
	}
	public void setManager(String m_Manager) {
		this.m_Manager = m_Manager;
	}
	@DocAttribute(necessary = false, description = "任务处理人", example = "[小王,小李]")
	public List<String> getHandlers() {
		return m_Handlers;
	}
	public void setHandlers(List<String> m_Handlers) {
		this.m_Handlers = m_Handlers;
	}

	@DocAttribute(necessary = true, description = "任务标签id", example = "")
	public String getTag() {
		return m_Tag;
	}
	public void setTag(String m_Tag) {
		this.m_Tag = m_Tag;
	}
	@DocAttribute(necessary = true, description = "任务期望开始时间", example = "2019-10-29T00:30:00.666Z")
	public Date getExpectedStartTime() {
		return m_ExpectedStartTime;
	}
	public void setExpectedStartTime(Date m_ExpectedStartTime) {
		this.m_ExpectedStartTime = m_ExpectedStartTime;
	}
	@DocAttribute(necessary = true, description = "任务期望结束时间", example = "2019-10-29T00:30:00.666Z")
	public Date getExpectedEndTime() {
		return m_ExpectedEndTime;
	}
	public void setExpectedEndTime(Date m_ExpectedEndTime) {
		this.m_ExpectedEndTime = m_ExpectedEndTime;
	}
	public void setEndTime(Date m_EndTime) {
		this.m_EndTime = m_EndTime;
	}
	
	
}
